package com.itheima.advantagesup.mapper;

import com.itheima.advantagesup.entity.YddCate;
import com.itheima.advantagesup.vo.cateVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ContentMapper {
    List<YddCate> getAllContent();

    List<YddCate> getPageContent(String catename);

    void delContent(String id);

    void addContent(cateVO cv);

    cateVO rowInfoContent(String id);

    void updateContent(cateVO cv);
}
